<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
<title>提现记录</title>
<link rel="stylesheet" type="text/css" href="../../css/aui-flex.css" />
<link rel="stylesheet" type="text/css" href="../../css/aui.css" />
<link rel="stylesheet" type="text/css" href="../../css/common.css" />
<style>
body{
  background: #F5F7F8;
}
.aui-content{
  padding: 0 0.8rem;
}
table td:first-child{
  padding-left: 0 !important;
}
table{
  width: 100%;
  font-size:0.6rem;
  color: #444444;
  background: #fff;
}
table thead tr td{
  padding: 1rem 0;
}
table tbody tr td{
  padding-bottom: 0.65rem;
}
.rewardBox .num-no{
  font-size:1.8rem;
  font-weight: bold;
}
.notData {
  text-align: center;
}
.notData .notBtn{
  background: #E73450;
  width: 9rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  color:#fff;
  font-size:0.7rem;
  margin:2.2rem auto;
  border-radius: 100px;

}
</style>
</head>
<body>
  <div id="list_html"></div>
  <script type="text/x-dot-template" id="list_tpl">
  <div class="aui-content bg-white">
    <table>
      <thead>
        <tr>
          <td>提现时间</td>
          <td>到账时间</td>
          <td>提现金额</td>
        </tr>
      </thead>
      <tbody>
      	{{ for(var i in it) { }}
          <tr data-id="{{=it[i].withdraw_id}}">
            <td>{{=it[i].withdraw_addtime}}</td>
            <td>{{=it[i].withdraw_addtime}}</td>
            <td>{{=it[i].withdraw_amount}}</td>
          </tr>
        {{ }}}

      </tbody>
    </table>
  </div>
  </script>
  <div class="aui-font-size-12 aui-py-15 color-666 aui-text-center">没有更多了</div>
</body>
<script type="text/javascript" src="../../script/import.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript">
apiready = function(){
	api.parseTapmode();
  getRecordList()
};
function getRecordList(){
	api.ajax({
		url: BASE_URL + 'App/UserAccount/withdrawList',
		method: 'post',
		data: {
			values: {
				userid: getUserId()
			}
		}
	},function(ret, err){
		if (ret) {
			if(ret.code == 1){
				var tpl = $$('#list_tpl').html();
				var tempFn = doT.template(tpl);
				$$('#list_html').html(tempFn(ret.data));
		}
	}
	});

}
</script>
</html>
